{extend name="public/base"/}
{block name="body"}
<div class="main-box clearfix">
	<header class="main-box-header clearfix">
		<div class="pull-left">
			<h2>{$meta_title}</h2>
		</div>
	</header>
	<div class="main-box-body clearfix">
		<form id="form" method="post" class="form form-horizontal" action="__URL__/uploadzipfile" enctype="multipart/form-data">
			<div class="form-group">
				<label class="col-lg-2 control-label">选择压缩包</label>
				<div class="col-lg-2">
					<input type="file" name="file"  id="file" class="form-control" accept="application/msword" >
					<div class="help-block" id="info"></div>
				</div>
			</div>
			<div class="form-group">
				<label class="col-lg-2 control-label">标准翻译</label>
				<div class="col-lg-2">
					<div class="radio radio-nice radio-inline">
						<input type="radio" name="flag" id="flag0" value="0" checked/>
						<label for="flag0">否</label>
					</div>
					<div class="radio radio-nice radio-inline">
						<input type="radio" name="flag" id="flag1" value="1"/>
						<label for="flag1">是</label>
					</div>
				</div>
			</div>
			<div class="form-group">
				<div class="col-lg-offset-2 col-lg-10">
					<button class="btn btn-success submit-btn" type="button" >确 定</button>
				</div>
			</div>
		</form>

	</div>
</div>
{/block}

{block name="script"}
<script type="text/javascript">
	$(".submit-btn").click(function(){
		$("#form").submit();
		$(this).attr('disabled',"disabled");
		$(this).html("提交中");
	});
</script>
{/block}